package com.brush.app.mapper;

import com.brush.app.domain.AppSubject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brush.app.domain.req.Subject.query.AppSubjectQueryReq;
import com.brush.app.domain.resp.Subject.AppSubjectResp;
import com.brush.app.domain.resp.Subject.AppSubjectTreeResp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ckq
* @description 针对表【app_subject(学科表)】的数据库操作Mapper
* @createDate 2024-11-01 00:32:38
* @Entity com.brush.app.domain.AppSubject
*/
public interface AppSubjectMapper extends BaseMapper<AppSubject> {

    List<AppSubjectResp> paginationQuery(@Param("req") AppSubjectQueryReq req);

    AppSubjectResp findById(Long id);

    List<AppSubjectTreeResp> getAllSubject();
}




